<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>商品投诉平台后台Product complaint platform</title>
  <!-- 字体图标 -->
  <link rel="stylesheet" href="https://at.alicdn.com/t/c/font_3736758_vxpb728fcyh.css">
  <!-- 引入bootstrap.css -->
  <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/css/bootstrap.min.css" rel="stylesheet">
  <!-- 核心样式 -->
  <link rel="stylesheet" href="index_main.css">
</head>

<body>
<!-- 主体区域 -->
<div class="container">
  <!-- 头部标题和添加按钮 -->
  <div class="top">
    <div><h3>Yeezy Opinion Collection Platform | yeezy意见收集平台</h3></div>

    <button type="button" class="btn btn-primary plus-btn" data-bs-toggle="modal" data-bs-target=".add-modal"> + Add Suggestion
    </button>
  </div>
  <!-- 数据列表 -->
  <table class="table">
    <thead class="table-light">
    <tr>
      <th style="width: 150px;">id</th>
      <th>CNname</th>
      <th>StoreName</th>
      <th>Suggestion</th>
      <th style="width: 180px;">Option</th>
    </tr>
    </thead>
    <tbody class="list">
    <tr >

      <span class="del">删除</span>
      <span class="edit">编辑</span>
      </td>
    </tr>
    </tbody>
  </table>
</div>
<!-- 新增-弹出框 -->
<div class="modal fade add-modal">
  <!-- 中间白色区域 -->
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header top">
        <span>新增投诉</span>
        <button type="button" class="btn-close" aria-label="Close" data-bs-dismiss="modal"></button>
      </div>
      <div class="modal-body form-wrap">
        <!-- 新增表单 -->
        <form class="add-form">
          <div class="mb-3">
            <label for="bookname" class="form-label">您的姓名-Your name</label>
            <input type="text" class="form-control bookname" placeholder="请输入您的姓名" name="bookname">
          </div>
          <div class="mb-3">
            <label for="author" class="form-label">目标店铺-Target store</label>
            <input type="text" class="form-control author" placeholder="请输入目标店铺名称" name="author">
          </div>
          <div class="mb-3">
            <label for="publisher" class="form-label">意见内容-Opinion content</label>
            <input type="text" class="form-control publisher" placeholder="请输入意见内容" name="publisher">
          </div>
        </form>
      </div>
      <div class="modal-footer btn-group">
        <button type="button" class="btn btn-primary" data-bs-dismiss="modal"> 取消 </button>
        <button type="button" class="btn btn-primary add-btn"> 提交 </button>
      </div>
    </div>
  </div>
</div>
<!-- 编辑-弹出框 -->
<div class="modal fade edit-modal">
  <!-- 中间白色区域 -->
  <div class="modal-dialog">
    <div class="modal-content">
      <div class="modal-header top">
        <span>编辑投诉</span>
        <button type="button" class="btn-close" aria-label="Close" data-bs-dismiss="modal"></button>
      </div>
      <div class="modal-body form-wrap">
        <!-- 编辑表单 -->
        <form class="edit-form">
          <input type="hidden" class="id" name="id">
          <div class="mb-3">
            <label for="bookname" class="form-label">修改姓名 Edit Name</label>
            <input type="text" class="form-control bookname" placeholder="请输入新的姓名" name="bookname">
          </div>
          <div class="mb-3">
            <label for="author" class="form-label">目标店铺-Target store</label>
            <input type="text" class="form-control author" placeholder="请输入目标店铺名称" name="author">
          </div>
          <div class="mb-3">
            <label for="publisher" class="form-label">意见内容-Opinion content</label>
            <input type="text" class="form-control publisher" placeholder="请输入意见内容" name="publisher">
          </div>
        </form>
      </div>
      <div class="modal-footer btn-group">
        <button type="button" class="btn btn-primary" data-bs-dismiss="modal"> 取消 </button>
        <button type="button" class="btn btn-primary edit-btn"> 修改 </button>
      </div>
    </div>
  </div>
</div>
<script src="https://cdn.bootcdn.net/ajax/libs/axios/1.2.0/axios.min.js"></script>
<script src="form-serialize.js"></script>
<script src="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/5.2.3/js/bootstrap.min.js"></script>
<!-- 核心逻辑 -->
<script src="index.js"></script>
</body>

</html>